﻿/*
 * ErrorMessage
 * 
 * Author: snowdreamist
 * Date: 2011/11/24
 * 
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BitTorrentSharp.KRPC.Messages
{
    public enum ErrorType : int
    {
        GenericError = 201,
        ServerError = 202,
        ProtocolError = 203,
        MethodUnknown = 204
    }

    public class ErrorMessage : Message
    {
        public ErrorMessage() { }

        public ErrorMessage(Exception error, ErrorType errorType)
        {

        }

        public Exception ToException()
        {
            throw new NotImplementedException();
        }
    }
}
